// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-01

package action

import (
	"gitee.com/go-wares/framework-iris/framework/src/logics"
	"github.com/kataras/iris/v12"
	"server/app/http/logics/user/action/arcade_follow"
	"server/app/http/logics/user/action/arcade_follow_cancel"
	"server/app/http/logics/user/action/arcade_follow_state"
	"server/app/http/logics/user/action/basan_follow"
	"server/app/http/logics/user/action/basan_follow_cancel"
	"server/app/http/logics/user/action/basan_follow_state"
)

// Controller
// 校验接口.
//
// @Middleware("authorizer")
type Controller struct{}

// PostArcadeFollow
// 关注钓场.
func (o *Controller) PostArcadeFollow(i iris.Context) {
	logics.Do(i, arcade_follow.New)
}

// PostArcadeFollowCancel
// 取消钓场关注.
func (o *Controller) PostArcadeFollowCancel(i iris.Context) {
	logics.Do(i, arcade_follow_cancel.New)
}

// PostArcadeFollowState
// 钓场关注状态.
func (o *Controller) PostArcadeFollowState(i iris.Context) {
	logics.Do(i, arcade_follow_state.New)
}

// PostBasanFollow
// 关注钓点.
func (o *Controller) PostBasanFollow(i iris.Context) {
	logics.Do(i, basan_follow.New)
}

// PostBasanFollowCancel
// 取消钓点关注.
func (o *Controller) PostBasanFollowCancel(i iris.Context) {
	logics.Do(i, basan_follow_cancel.New)
}

// PostBasanFollowState
// 钓点关注状态.
func (o *Controller) PostBasanFollowState(i iris.Context) {
	logics.Do(i, basan_follow_state.New)
}
